package View;
import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.Canvas;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JComboBox;
import java.awt.Choice;
import javax.swing.JList;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JScrollPane;
import javax.swing.JTextPane;
import java.awt.FlowLayout;
import javax.swing.JButton;

public class UserInterface extends JInternalFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					UserInterface frame = new UserInterface();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public UserInterface() {
		setTitle("\u7528\u6237\u754C\u9762");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 932, 631);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBounds(15, 15, 514, 493);
		contentPane.add(panel);
		
		JLabel label = new JLabel("\u666F\u70B9\u7F16\u53F7\uFF1A");
		label.setBounds(563, 26, 97, 31);
		contentPane.add(label);
		
		textField = new JTextField();
		textField.setBounds(680, 26, 109, 29);
		contentPane.add(textField);
		textField.setColumns(10);
		
		JLabel label_2 = new JLabel("\u666F\u70B9\u4ECB\u7ECD\uFF1A");
		label_2.setBounds(570, 206, 90, 31);
		contentPane.add(label_2);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setModel(new DefaultComboBoxModel(new String[] {"1", "2", "3", "4"}));
		comboBox.setBounds(680, 85, 90, 27);
		contentPane.add(comboBox);
		
		JLabel label_1 = new JLabel("\u666F\u70B9\u540D\u79F0\uFF1A");
		label_1.setBounds(563, 83, 97, 31);
		contentPane.add(label_1);
		
		JLabel label_3 = new JLabel("\u76EE\u7684\u5730\uFF1A");
		label_3.setBounds(563, 134, 97, 31);
		contentPane.add(label_3);
		
		JComboBox comboBox_1 = new JComboBox();
		comboBox_1.setModel(new DefaultComboBoxModel(new String[] {"1", "2", "3"}));
		comboBox_1.setBounds(680, 136, 90, 27);
		contentPane.add(comboBox_1);
		
		JLabel lblNewLabel = new JLabel("\u9644\u8FD1\u666F\u70B9\uFF1A");
		lblNewLabel.setBounds(563, 292, 97, 36);
		contentPane.add(lblNewLabel);
		
		JLabel label_4 = new JLabel("\u6240\u6709\u8DEF\u5F84\uFF1A");
		label_4.setBounds(563, 368, 90, 36);
		contentPane.add(label_4);
		
		textField_1 = new JTextField();
		textField_1.setBounds(680, 195, 109, 53);
		contentPane.add(textField_1);
		textField_1.setColumns(10);
		
		textField_2 = new JTextField();
		textField_2.setBounds(680, 284, 109, 53);
		contentPane.add(textField_2);
		textField_2.setColumns(10);
		
		textField_3 = new JTextField();
		textField_3.setBounds(680, 364, 109, 53);
		contentPane.add(textField_3);
		textField_3.setColumns(10);
		
		JButton button = new JButton("\u786E\u5B9A");
		button.setBounds(651, 464, 84, 44);
		contentPane.add(button);
	}
}
